package com.hn658.user.sync.department;

import java.util.List;

public class DepartmentListResponse {
	//{
	//	"department":[
	//              {"autoAddUser":true,"createDeptGroup":true,"id":1,"name":"杭州恒牛信息技术有限公司"},
	//              {"autoAddUser":true,"createDeptGroup":true,"id":1473139,"name":"产品技术","parentid":1},
	//              {"autoAddUser":true,"createDeptGroup":true,"id":1473140,"name":"人事行政","parentid":1},
	//              {"autoAddUser":true,"createDeptGroup":true,"id":1473141,"name":"内审内控部","parentid":1},
	//              {"autoAddUser":true,"createDeptGroup":true,"id":1473142,"name":"总裁办","parentid":1},
	//              {"autoAddUser":true,"createDeptGroup":true,"id":1473144,"name":"财务","parentid":1},
	//              {"autoAddUser":true,"createDeptGroup":true,"id":1473145,"name":"运营策划部","parentid":1},
	//              {"autoAddUser":true,"createDeptGroup":true,"id":1473146,"name":"销售","parentid":1},
	//              {"autoAddUser":true,"createDeptGroup":true,"id":1473147,"name":"风险控制","parentid":1},
	//              {"autoAddUser":true,"createDeptGroup":true,"id":3217087,"name":"催收部","parentid":1}
	//  ],
	//  "errcode":0,
	//  "errmsg":"ok"
	//}
	
	private List<Department> department;
	private Long id;
//	private Department depart;
	
	private int errcode;
	
	private String errmsg;

	
	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public List<Department> getDepartment() {
		return department;
	}

	public void setDepartment(List<Department> department) {
		this.department = department;
	}

	public int getErrcode() {
		return errcode;
	}

	public void setErrcode(int errcode) {
		this.errcode = errcode;
	}

	public String getErrmsg() {
		return errmsg;
	}

	public void setErrmsg(String errmsg) {
		this.errmsg = errmsg;
	}
	
}
